<template>
	<view class="person_help">
		<view class="help_main">
			<view class="text" v-html="htmlInfo"></view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				htmlInfo:'',
			};
		},
		onLoad(options) {
			this.bannerDetails(options.id)
		},
		methods:{
			bannerDetails(vid){
				var that = this
				that.$tips.showLoading('加载中')
				var params = {
					ids:vid
				}
				that.$httpApi.bannerInfo(params).then((res)=>{
					that.$tips.hideLoading()
					if(res.code==1){
						console.log(res)
						that.htmlInfo=res.data.content
					}
				})
			},
		}
	}
</script>

<style lang="less">
	.person_help{
		width: 100%;
		.help_main{
			width: 100%;
			padding: 20rpx 32rpx;
			.title{
				width: 100%;
				text-align: center;
				font-size: 36rpx;
				font-family: PingFang SC-Bold, PingFang SC;
				font-weight: bold;
				color: #222222;
			}
			.tip{
				padding-top: 10rpx;
				width: 100%;
				text-align: center;
				font-size: 28rpx;
				font-family: PingFang SC-Medium, PingFang SC;
				font-weight: 400;
				color: #888888;
			}
			.text{
				// padding-top: 20rpx;
				font-size: 28rpx;
				font-family: PingFang SC-Medium, PingFang SC;
				font-weight: 400;
				color: #666666;
				line-height: 50rpx;
			}
		}
	}
</style>
